package com.dubito.chat.protocol.response;

import com.dubito.chat.protocol.Packet;
import lombok.Data;
import lombok.EqualsAndHashCode;

import static com.dubito.chat.protocol.command.Command.MESSAGE_RESPONSE;

/**
 * @author liliang
 * @date 2020/4/27.
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MessageResponsePacket extends Packet {

    private String message;

    @Override
    public Byte getCommand() {

        return MESSAGE_RESPONSE;
    }
}